package com.example.demo.entity;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity(name = "classs")
public class Classs {
    @Id
    private int id;//id
    private int num;//对应班级人数
    private String name;//对应班级名称
    private String dep;//所在系部名称

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDep() {
        return dep;
    }

    public void setDep(String dep) {
        this.dep = dep;
    }
}
